package com.moshang.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moshang.blog.entity.SysDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xww
 * Created on 2019/7/2.
 */
@Mapper
public interface DeptMapper  extends BaseMapper<SysDept> {
    void swapSort(@Param("currentId")Integer currentId, @Param("swapId")Integer swapId);

    List<Integer> selectChidIdById(Integer id);
}
